package cn.mengfly.testnrz.util;

import java.io.Closeable;
import java.io.IOException;

public class IOUtil {

    public static void close(Closeable... clos) {
        for (Closeable clo : clos) {
            try {
                if (clo != null) {
                    clo.close();
                }
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
